<?php function canvas_asides($url_string='') {
	parse_str($url_string, $vars);

	$total = $vars['number_of_asides'];
	$cat = $vars['asides_category'];
	$i = 0;
?>
	<?php $mini_query = new wp_query('cat='.$cat.'&showposts='.$total.'&orderby=date'); ?>
	<?php while ($mini_query->have_posts()) : $mini_query->the_post(); update_post_caches($posts); ?>
		<?php if($i == 0) { ?><h6>Asides</h6><?php $i=1; } ?>
		<dl>
			<dt><h4><span><?php the_time('m.j') ?></span> <?php the_title(); ?></h4></dt>
			<dd><?php the_content(); ?></dd>
		</dl>
	<?php endwhile; unset($mini_query);
} 

?>